using System;
using System.Collections;

namespace Com.CMS263.PO
{
	#region ResetGetPass

	/// <summary>
	/// ResetGetPass object for NHibernate mapped table 'ResetGetPass'.
	/// </summary>
	public class ResetGetPass
	{
		#region Member Variables
		
		protected int _id;
		protected string _userID;
		protected bool _isValid;
		protected string _passGuID;

		#endregion

		#region Constructors

		public ResetGetPass() { }

		public ResetGetPass( string userID, bool isValid, string passGuID )
		{
			this._userID = userID;
			this._isValid = isValid;
			this._passGuID = passGuID;
		}

		#endregion

		#region Public Properties

		public virtual int Id
		{
			get {return _id;}
			set {_id = value;}
		}

		public  virtual string UserID
		{
			get { return _userID; }
			set
			{
				if ( value != null && value.Length > 300)
					throw new ArgumentOutOfRangeException("Invalid value for UserID", value, value.ToString());
				_userID = value;
			}
		}

		public  virtual bool IsValid
		{
			get { return _isValid; }
			set { _isValid = value; }
		}

		public  virtual string PassGuID
		{
			get { return _passGuID; }
			set
			{
				if ( value != null && value.Length > 400)
					throw new ArgumentOutOfRangeException("Invalid value for PassGuID", value, value.ToString());
				_passGuID = value;
			}
		}

		

		#endregion
	}
	#endregion
}